let requestUtil = require('@/api/http/request.js');

//通过4G下发指令
export const send4GControlAPI = (params) => {
	return requestUtil('/iot-device-saas-car/cardSendQueue/sendControl', 'post', params, '请求中','指令已下发');
}


//获取下发到蓝牙的指令
export const getBluetoothOrderAPI = (params) => {
	return requestUtil('/iot-device-saas-car/cardSendQueue/getBluetoothOrder', 'post', params, '');
}


//解析蓝牙返回的指令
export const parseBluetoothOrderAPI = (params) => {
	return requestUtil('/iot-device-saas-car/cardSendQueue/analysisBluetoothOrder', 'post', params, '');
}

//获取最后防盗状态
export const getCarStatusAPI = (deviceId) => {
	return requestUtil('/iot-device-saas-car/cardSendQueue/getCarStatus', 'post', {deviceId:deviceId}, '');
}

